package com.haoyu.microservicecloudconsumercategory80.service;

import com.haoyu.microservicecloudapi.entity.Category;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


/**
 * @author: 蒿雨
 * @create: 2022-04-14 10:17
 * @description:
 */
public interface CategoryService {

    List<Category> list();

    Category get(Integer id);

    boolean update(Category category);

    boolean insert(Category category);

    boolean delete(Integer id);

}
